Cortex > Metrics
Administration
Cortex > System Health
Cortex > Session Management
Cortex > Index Management
Cortex > Document Operations
Cortex > Search Operations
Cortex > A/B Testing
Cortex > Analytics
Cortex > Feedback
Nous > Health
Nous > A/B Testing
Nous > Adaptation
Nous > Learning > Models
Nous > Learning > Search Patterns
Nous > Learning > Feedback
Nous > Learning > Metrics and Events
Nous > Signals
Cortex > Document Operations
Update Document
PUT
/
cortex
/
documents
/
{test_doc_id}
Copy
curl --request PUT \
--url https://api.sophra.org/api/cortex/documents/{test_doc_id} \
--header 'Content-Type: application/json' \
--data '"{\n \"title\": \"{{updated_test_doc_title}}\",\n \"abstract\": \"{{updated_test_doc_abstract}}\",\n \"authors\": {{updated_test_doc_authors}},\n \"metadata\": {\"updated\": true},\n \"tags\": {{updated_test_doc_tags}},\n \"source\": \"{{updated_test_doc_source}}\"\n}"'
Copy
"<any>"
Path Parameters
Query Parameters
Body
application/json · object
Response
200 - application/json
Successful response
The response is of type any
.
Copy
curl --request PUT \
--url https://api.sophra.org/api/cortex/documents/{test_doc_id} \
--header 'Content-Type: application/json' \
--data '"{\n \"title\": \"{{updated_test_doc_title}}\",\n \"abstract\": \"{{updated_test_doc_abstract}}\",\n \"authors\": {{updated_test_doc_authors}},\n \"metadata\": {\"updated\": true},\n \"tags\": {{updated_test_doc_tags}},\n \"source\": \"{{updated_test_doc_source}}\"\n}"'
Copy
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.